package com.monitorRoutine.monitorRoutineServer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.monitorRoutine.monitorRoutineServer.entity.MonitorComputerProcess;
import com.monitorRoutine.monitorRoutineServer.entity.SqlRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MonitorComputerProcessMapper extends BaseMapper<MonitorComputerProcess> {
    int deleteByPrimaryKey(Integer id);

    int insert(MonitorComputerProcess record);

    int insertSelective(MonitorComputerProcess record);

    MonitorComputerProcess selectByPrimaryKey(Integer id);
   List<MonitorComputerProcess> selectByComputerId(Integer computerid);
    List<MonitorComputerProcess> selectByComputerName(String  computerName);
    int updateByPrimaryKeySelective(MonitorComputerProcess record);

    int updateByPrimaryKey(MonitorComputerProcess record);
}